package com.ruoyi.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息推送对象 sys_message
 * 
 * @author ruoyi
 * @date 2024-02-11
 */
public class SysMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long messageId;

    private Long message_info_id;


    /** 发送者 */
    private Long sendId;

    /** 收件者 */
    private Long recId;

    /** 邮箱标题 */
    private String messageTitle;

    /** 邮箱内容 */
    private String messageContent;

    /** 导航网址 */
    private String messageUrl;


    /** 删除标志 */
    private Long deleted;

    /** 创建者 */
    private String createUser;

    /** 更新者 */
    private String lastUpdateUser;

    /** 更新时间 */
    private Date lastUpdateTime;

    /** 收件者已读状态 */
    private Long status;
    private Long[] teacherIds;

    private Long[] ClaIds;

    public Long[] getClaIds() {
        return ClaIds;
    }

    public void setClaIds(Long[] claIds) {
        ClaIds = claIds;
    }

    private  String info_content;

    private  String startTime ;
    private  String endTime ;
//    private  String recName;
//
//    public String getRecName() {
//        return recName;
//    }
//
//    public void setRecName(String recName) {
//        this.recName = recName;
//    }

    private  String sendName ;

    public String getSendName() {
        return sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName;
    }

    private List<ScClaTimeAttend> leaveList;

    public List<ScClaTimeAttend> getLeaveList() {
        return leaveList;
    }

    public void setLeaveList(List<ScClaTimeAttend> leaveList) {
        this.leaveList = leaveList;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getInfo_content() {
        return info_content;
    }

    public void setInfo_content(String info_content) {
        this.info_content = info_content;
    }



    public Long getMessage_info_id() {
        return message_info_id;
    }

    public void setMessage_info_id(Long message_info_id) {
        this.message_info_id = message_info_id;
    }

    public Long[] getTeacherIds() {
        return teacherIds;
    }

    public void setTeacherIds(Long[] teacherIds) {
        this.teacherIds = teacherIds;
    }

    public void setMessageId(Long messageId)
    {
        this.messageId = messageId;
    }

    public Long getMessageId()
    {
        return messageId;
    }
    public void setSendId(Long sendId)
    {
        this.sendId = sendId;
    }

    public Long getSendId()
    {
        return sendId;
    }
    public void setRecId(Long recId)
    {
        this.recId = recId;
    }

    public Long getRecId()
    {
        return recId;
    }
    public void setMessageTitle(String messageTitle)
    {
        this.messageTitle = messageTitle;
    }

    public String getMessageTitle()
    {
        return messageTitle;
    }
    public void setMessageContent(String messageContent)
    {
        this.messageContent = messageContent;
    }

    public String getMessageContent()
    {
        return messageContent;
    }
    public void setMessageUrl(String messageUrl)
    {
        this.messageUrl = messageUrl;
    }

    public String getMessageUrl()
    {
        return messageUrl;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setDeleted(Long deleted)
    {
        this.deleted = deleted;
    }

    public Long getDeleted()
    {
        return deleted;
    }
    public void setCreateUser(String createUser)
    {
        this.createUser = createUser;
    }

    public String getCreateUser()
    {
        return createUser;
    }
    public void setLastUpdateUser(String lastUpdateUser)
    {
        this.lastUpdateUser = lastUpdateUser;
    }

    public String getLastUpdateUser()
    {
        return lastUpdateUser;
    }
    public void setLastUpdateTime(Date lastUpdateTime)
    {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getLastUpdateTime()
    {
        return lastUpdateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageId", getMessageId())
            .append("sendId", getSendId())
            .append("recId", getRecId())
            .append("messageTitle", getMessageTitle())
            .append("messageContent", getMessageContent())
            .append("messageUrl", getMessageUrl())
            .append("status", getStatus())
            .append("deleted", getDeleted())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("lastUpdateUser", getLastUpdateUser())
            .append("lastUpdateTime", getLastUpdateTime())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
            .toString();
    }
}
